 package com.nbst.service.base;

import java.util.List;
import java.util.Map;

import com.nbst.comnutil.NormalResult;
import com.nbst.model.base.Base;
import com.nbst.model.base.Menu;

/**
 * @ClassName: IMenuService
 * @Description:权限管理Service
 * @author 兵
 * @date 2017-8-17
 * 
 */

public interface IMenuService {

	NormalResult deleteByPrimaryKey(String pId);

	NormalResult insertSelective(Menu record);

	List<Menu> findByCondition(Map<String,Object> map);
	
	List<Menu> findByUid(Map<String,Object> map);
	
	List<Base> getRolePermissionList(Map<String,Object> map);
	
	List<Menu> getDeskPermissionList(Map<String,Object> map);

	NormalResult updateByPrimaryKeySelective(Menu record);

}